package wjw.service;

import com.wjw.service.FacilityDamageTableService;
import com.wjw.service.PavementFlatnessTableService;
import com.wjw.viewmodel.Facility_damage_table_view;
import com.wjw.viewmodel.Pavement_flatness_table_view;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Controller;

import java.util.List;

public class PavementFaltnessServiceTable {

    private ApplicationContext ioc=new ClassPathXmlApplicationContext("springmvc.xml");

    @Test
    public void test01(){
        PavementFlatnessTableService bean = ioc.getBean(PavementFlatnessTableService.class);
        List<Pavement_flatness_table_view> all = bean.findAll();
        System.out.println(all);
    }
}
